Color.setHsb Method
Sets the hue, saturation, and brightness of the color.
Parameters
- h
-
Type: Number
The hue value between 0 and 255 (inclusive.)
- s
-
Type: Number
The saturation as a percentage decimal between 0 and 1 (inclusive.)
- b
-
Type: Number
The brightness as a percentage decimal between 0 and 1 (inclusive.)